package com.ruoyi.common.utils;

import org.apache.shiro.codec.Base64;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import com.ruoyi.common.utils.security.CipherUtils;
	
public class ShiroAESEncryption {

	private final static Logger logger = LoggerFactory.getLogger(ShiroAESEncryption.class);

    public static void ShiroAESEncryption() {
        logger.info("生成新的Base64唯一字符串秘钥: {}", Base64.encodeToString(CipherUtils.generateNewKey(128, "AES").getEncoded()));
    }

//    public static void main(String[] args) {
//        ShiroAESEncryption();
//    }
}
